<?php
# Using REQUEST_URI

$link_url = $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
$link_full = 'matxac.com/';

if ($link_url != $link_full) 
{
echo '<image width="250px" height="7px" alt="Liên hệ quảng cáo" style="border: 0px" src="http://matxac.com/ads/advertisement.gif" /><br /><br />
<a href="http://hoalong.us/" target="_blank"><image width="250px" height="200px" alt="Liên hệ quảng cáo" style="border: 0px" src="http://d.f10.photo.zdn.vn/upload/original/2012/06/18/1/14/13399568721585412300_574_574.jpg" /></a><br /><br />

 <div class="fb-like-box" data-href="http://facebook.com/matxacfc" data-width="250" data-height="365" data-colorscheme="dark" data-show-faces="true" data-stream="false" data-border-color="#090909" data-header="true"></div><br /><br />
';		
}
else {
	
echo '<image width="250px" height="7px" alt="Liên hệ quảng cáo" style="border: 0px" src="http://matxac.com/ads/advertisement.gif" /><br /><br />
<a href="http://hoalong.us/" target="_blank"><image width="250px" height="200px" alt="Liên hệ quảng cáo" style="border: 0px" src="http://d.f10.photo.zdn.vn/upload/original/2012/06/18/1/14/13399568721585412300_574_574.jpg" /></a><br /><br />

<a href="http://matxac.com/" target="_blank"><image width="250px" height="80px" alt="Liên hệ quảng cáo" style="border: 0px" src="http://matxac.com/ads/test.jpg" /></a><br /><br />
 <div class="fb-like-box" data-href="http://facebook.com/matxacfc" data-width="250" data-height="365" data-colorscheme="dark" data-show-faces="true" data-stream="false" data-border-color="#090909" data-header="true"></div><br /><br />';		
}

?>